﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Biz_Dal.Dal;

namespace Biz_Dal.Biz
{
    public class BizTrangThaiDH
    {
        private int idTTDH;

        public int Id
        {
            get { return idTTDH; }
            set { idTTDH = value; }
        }

        private string maTTDH;

        public string MaTTDH
        {
            get { return maTTDH; }
            set { maTTDH = value; }
        }

        private string tenTTDH;

        public string TenTTDH
        {
            get { return tenTTDH; }
            set { tenTTDH = value; }
        }

        public BizTrangThaiDH(int _id)
        {
            Id = _id;
        }

        public BizTrangThaiDH(int _id, string _ma, string _ten)
        {
            Id = _id;
            MaTTDH = _ma;
            TenTTDH = _ten;
        }

        public List<BizTrangThaiDH> GetAll()
        {
            return DalTrangThaiDH.GetAll();
        }
    }
}
